<?php

namespace App\Observers;

use App\Models\Users;
use App\Models\UsersInfo;

class UsersObserver
{
    /**
     * Handle the User "created" event.
     *
     * @param  \App\Models\Users  $user
     * @return void
     */
    public function created(Users $user)
    {


        UsersInfo::create([
            'user_id' => $user->id
        ]);
    }
}
